package com.qjcc.repository.p;

import com.qjcc.domain.p.ZtTableDataEntity;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ZtTableDataRepository extends JpaRepository<ZtTableDataEntity, String>, JpaSpecificationExecutor {

    public List<ZtTableDataEntity> findTop10ByOrderByDateAsc();

    public ZtTableDataEntity findByTypeAndDate(String type, Date date);

}
